class RenameProjectNameAndProgrammingLanguageAndAddType < ActiveRecord::Migration
  def self.up
    rename_column :projects, :project_name, :title
    rename_column :projects, :programming_language, :language 
    add_column :projects, :type, :string
  end

  def self.down
    rename_column :projects, :title, :project_name
    rename_column :projects, :language, :programming_language
    remove_column :projects, :type
  end
end
